package com.yeyks.vip.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * vip分佣比例配置表
 * </p>
 *
 * @author yun
 * @since 2019-08-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="VipCommissionRateConfig对象", description="vip分佣比例配置表")
public class VipCommissionRateConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "分佣账户id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "类型1:卡酒店 2:卡运营商 3:卡服务商 4:卡服务商上级 5:非卡酒店 6:非卡运营商 7:非卡服务商 8:非卡服务商上级 9:卡商 ")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "vip类型，1大V，2小V")
    @TableField("vip_type")
    private Integer vipType;

    @ApiModelProperty(value = "万分比")
    @TableField("rate_value")
    private Integer rateValue;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String ACCOUNT_ID = "account_id";

    public static final String TYPE = "type";

    public static final String VIP_TYPE = "vip_type";

    public static final String RATE_VALUE = "rate_value";

    public static final String CREATE_TIME = "create_time";

}
